package com.xmy.study.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.study.entity.EduTask;
import org.apache.ibatis.annotations.Param;

public interface IEduTaskService extends IService<EduTask> {

    EduTask getTaskOneForDate(String startDate, String endDate, String yearClassId, Long classTypeId,Long courseVersionId,Long subjectsId, Integer categoryId);


    Integer getTaskNumForMax(String yearClassId, Long classTypeId, Long courseVersionId, Long subjectsId, Integer categoryId);

    EduTask getTaskOneForTaskCourseNum(Integer taskCourseNum, Integer yearClassId, Long classTypeId, Long courseVersionId, Long subjectsId,Integer yearPart,Integer quarterNum, Integer categoryId);

    EduTask getTaskOneNow(String yearPart, String quarterNum,Long courseVersionId,String subjectsId, Integer categoryId);

    EduTask getTaskOneMax(String yearPart, String quarterNum, Long courseVersionId, String subjectsId,Integer categoryId);

    EduTask getTaskOneBackTaskNum(String yearPart, String quarterNum, Long courseVersionId, String subjectsId, Integer categoryId);

    public Integer brushCount(String yearPart, String quarterNum, Integer categoryId);

    EduTask getTaskOneForLessonNum(Integer yearPart, Integer quarterNum, Integer yearClassId, Long courseVersionId, Long subjectsId, Integer categoryId, Integer lessonNum);
}
